{*
* 2007-2011 PrestaShop 
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <contact@prestashop.com>
*  @copyright  2007-2011 PrestaShop SA
*  @version  Release: $Revision: 6594 $
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}">
	<head>
		<title>{$meta_title|escape:'htmlall':'UTF-8'}</title>
{if isset($meta_description) AND $meta_description}
		<meta name="description" content="{$meta_description|escape:html:'UTF-8'}" />
{/if}
{if isset($meta_keywords) AND $meta_keywords}
		<meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" />
{/if}
		<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
		<meta name="generator" content="PrestaShop" />
		<meta name="robots" content="{if isset($nobots)}no{/if}index,follow" />
		<link rel="icon" type="image/vnd.microsoft.icon" href="{$img_ps_dir}favicon.ico?{$img_update_time}" />
		<link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico?{$img_update_time}" />
		<script type="text/javascript">
			var baseDir = '{$content_dir}';
			var static_token = '{$static_token}';
			var token = '{$token}';
			var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};
			var priceDisplayMethod = {$priceDisplay};
			var roundMode = {$roundMode};
		</script>
{if isset($css_files)}
	{foreach from=$css_files key=css_uri item=media}
	<link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />
	{/foreach}
{/if}
{if isset($js_files)}
	{foreach from=$js_files item=js_uri}
	<script type="text/javascript" src="{$js_uri}"></script>
	{/foreach}
{/if}
		{$HOOK_HEADER}
	</head>
	
	<body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}>
		{if !$content_only}
    
    {if isset($restricted_country_mode) && $restricted_country_mode}
		<div id="restricted-country">
			<p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country}</span></p>
		</div>
	{/if}
    
    
   <div id="contenedor" style="width:960px; margin:auto;">
<div id="cabecera" style="height:60px; ">
      <a href="{$base_dir}" class="HouseDoIt">HouseDoIt</a>
      <div class="menuSuperior">
     <!--  HOOK_TOP} -->
      	<ul class="m1">
      	  <li><a href="{$base_dir}content/8-herramientas">herramientas</a></li>
      	  <li><a href="{$base_dir}content/6-inspirate">ins&iacute;rate</a></li>
      	  <li><a href="{$base_dir}content/7-asesoramiento">asesoramiento</a></li>
        </ul>
        
		 <ul class="mlogin">
      	  <li>{if $logged}
      	  		<a href="{$base_dir}index.php?mylogout">Desconectate</a> 
      	  	{else}
				<a href="{$base_dir}my-account.php">Logeate o registrate</a> 
			{/if} 
          <li>

<!-- Block languages module -->
	<ul id="idiomas">
		{foreach from=$languages key=k item=language name="languages"}
			<li {if $language.iso_code == $lang_iso}class="selected_language"{/if}>
				{if $language.iso_code != $lang_iso}
				    {assign var=indice_lang value=$language.id_lang}
					{if isset($lang_rewrite_urls.$indice_lang)}
						<a href="{$lang_rewrite_urls.$indice_lang}" title="{$language.name}">
					{else}
						<a href="{$link->getLanguageLink($language.id_lang, $language.name)}" title="{$language.name}">
					{/if}

				{/if}
					<img src="{$img_lang_dir}{$language.id_lang}.jpg" alt="{$language.iso_code}" width="16" height="11" />
				{if $language.iso_code != $lang_iso}
					</a>
				{/if}
			</li>
		{/foreach}
	</ul>
<script type="text/javascript">
	$('ul#first-languages li:not(.selected_language)').css('opacity', 0.3);
	$('ul#first-languages li:not(.selected_language)').hover(function(){ldelim}
		$(this).css('opacity', 1);
	{rdelim}, function(){ldelim}
		$(this).css('opacity', 0.3);
	{rdelim});
</script>
<!-- /Block languages module -->



</ul>

    </div>
    </div>
    <div id="contenido" style="clear:both;">
<div class="contLeft">
	{if $page_name == 'index'}
    <div class="flashVideo">
    <iframe width="710" height="375" src="http://www.youtube.com/embed/QUbJth_aVzs" frameborder="0" allowfullscreen></iframe>
    </div>
    <a href="http://facebook.com/housedoit" target="_blank" class="fanPageFB"></a>
   	  <div class="ventajas">
       	<ul>
        <li style="text-align:left; font-weight:bold;">
        <div style=" padding-left:20px; padding-top:5px; line-height:1.5;">1. Haz la foto<br />
			2. Selecciona tus muebles<br />
			3. Cómpralos</div></li>
         <li class="ventajaImg"></li>
         <li class="siguenos">
         <span>Siguenos</span><br />
         	<a href="http://www.facebok.com/housedoit" class="fb" target="_blank">housedoit en facebook</a>
            <a href="http://twitter.com/housedoit" class="tw" target="_blank">housedoit en twitter</a>
            <a href="http://www.flickr.com/photos/housedoit" class="flr" target="_blank">housedoit en flickr</a>
            <a href="http://www.youtube.com/housedoit" class="yt" target="_blank">housedoit en youtube</a>
            <a href="http://vimeo.com/housedoit" class="vm" target="_blank">housedoir en vimeo</a>
         
         </li>
       </ul>
   	 </div>
	{/if}
{/if}